package cn.tedu.dental.dental.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DentalQuery {
    @ApiModelProperty(value = "牙况表id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long user_id;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "医生id")
    private Long doctor_id;

    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date create_time;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date update_time;

    @ApiModelProperty(value = "主诉")
    private  String appeal;

    @ApiModelProperty(value = "现病史")
    private String present;

    @ApiModelProperty(value = "既往史")
    private String past;

    @ApiModelProperty(value = "过敏史")
    private String allergy;

    @ApiModelProperty(value = "检查")
    private  String inspect;

    @ApiModelProperty(value = "治疗")
    private String treatment;
}
